﻿var SelectSearch = {
	model: function (d = {}) {

	},
	component: {
		name: "lg-form-SelectSearch",
		data: {
			props: {
				items: {
					type: Array,
					default: []
				},
				value: {
					type: [String, Object],
					default: []
				},
				data: {
					type: Object,
					default: {}
				},
				valType: {
					type: String,
					default: "option"
				},
				//0填写 1查看
				renderType: {
					type: Number,
					default: 0
				}
			},
			computed: {
				values: function () {

				}
			},
			methods: {

			},
			template: `
<div class="lg-form-item">
	<div class="lg-form-block">
		<div class="lg-form-title">
			<div class="lg-form-title-item">
				<i>*</i><span class="cn">下拉搜索</span><span class="en">English
					Text</span>
			</div>
		</div>
		<div class="lg-form-control">
			<div class="lg-form-select">
				<div class="lg-select-title">
					<input type="text" placeholder="请选择或搜索" class="lg-input lg-select-input">
					<label class="fa fa-caret-down"></label>
				</div>
				<div class="lg-select-list-position" style="display: none;">
					<ul class="lg-select-list">
						<li class="option lg-select-tip">请选择</li>
						<li class="option">AAA</li>
						<li class="option">BBB</li>
						<li class="option">CCC</li>
						<li class="option">ABC</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
                    `
		}
	}
}



export { SelectSearch }